package com.cn.wanxi.util.service.impl;

import com.cn.wanxi.util.dao.impl.SchoolContent2Dao;
import com.cn.wanxi.util.model.ConpanyIdeaModel;
import com.cn.wanxi.util.model.SchoolContacModel;
import com.cn.wanxi.util.model.SchoolNewsModel;
import com.cn.wanxi.util.model.SchoolTitleModel;
import com.cn.wanxi.util.service.ISchoolContent2;

import java.util.List;

public class SchoolContent2Service implements ISchoolContent2 {
    SchoolContent2Dao schoolContent2Dao = new SchoolContent2Dao();
    @Override
    public List<SchoolTitleModel> getSchoolTitleModel() {
        List<SchoolTitleModel> schoolTitleModelList = schoolContent2Dao.schoolTitle();
        return  schoolTitleModelList;
    }

    @Override
    public List<ConpanyIdeaModel> getConpanyIdeaModel() {
        List<ConpanyIdeaModel> conpanyIdeaModelList =schoolContent2Dao.conpanyIdea();
        return conpanyIdeaModelList;
    }

    @Override
    public List<SchoolNewsModel> getSchoolNewsModel() {
        List<SchoolNewsModel> schoolNewsModelList =schoolContent2Dao.schoolNewsModel();
        return schoolNewsModelList;
    }

    @Override
    public List<SchoolContacModel> getSchoolContacModel() {
        List<SchoolContacModel> schoolContacModelList =schoolContent2Dao.schoolContacModel();
        return schoolContacModelList;
    }
}
